<?php
include_once dirname(__FILE__)."/../lang/error.php";
include_once dirname(__FILE__)."/../io/rows.php";
include_once dirname(__FILE__)."/../io/db.php";
class group extends rows{
 	function init(){
 		$this->tableName="sn_group";
 		$this->col["gid"]   = new column("gid",dataCheck::INTEGER);
 		$this->col["gname"] = new column("gname",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["gtype"]  = new column("gtype",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["gcontent"]  = new column("gcontent",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["gtag"]  = new column("gtag",dataCheck::INTEGER|dataCheck::NOTNULL);
		$this->col["gaddtime"]  = new column("gaddtime",dataCheck::INTEGER);
 		$this->col["gclass"]  = new column("gclass",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["gimage"]  = new column("gimage",dataCheck::STRING);
 		$this->col["gway"]  = new column("gway",dataCheck::INTEGER|dataCheck::NOTNULL);
 	} 	 	
 }
